package com.xunlai.infra.permission.business.dao.repository;

import com.xunlai.infra.permission.business.dao.entity.Order;
import com.xunlai.infra.permission.storage.repository.BaseAllRoundRepository;
import org.springframework.transaction.annotation.Transactional;

import java.util.Optional;

/**
 * @author liang
 * @date 9/8/23 7:20 PM
 */
@Transactional(rollbackFor = Exception.class)
public interface OrderRepository extends BaseAllRoundRepository<Order,Long> {

    Optional<Order> findByOrderNo(String orderNo);
}
